<?xml version="1.0"?>
<xsl:stylesheet version="1.0" 
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 
xmlns:tns="http://www.example.org/GolfCountryClub" 

>
<xsl:template match="/">
  <html>
  <body>

      <xsl:value-of select="/tns:GolfCountryClub/GolfCourse/Name"></xsl:value-of>

<p>Total cost of books = <xsl:value-of select="sum(/tns:GolfCountryClub/GolfCourse/Par)"/></p>

<xsl:value-of select="string-length(/tns:GolfCountryClub/GolfCourse/Name)" ></xsl:value-of>
<xsl:value-of select="name(/tns:GolfCountryClub/GolfCourse)" ></xsl:value-of>

	<ul>
		<li>la lista</li>
      <xsl:for-each select="/tns:GolfCountryClub/GolfCourse">
		<li>club de golf
		    Current node: <xsl:value-of select="current()"/>
		      <xsl:value-of select="Name"></xsl:value-of>
		
		</li>

		    
	</xsl:for-each>
</ul>
		<h3>wildcart *</h3>
		
	<ul>
      <xsl:for-each select="/tns:GolfCountryClub/ProShop/*">
		<li>
		      <xsl:value-of select="ManufacturerName"></xsl:value-of>
		
		</li>

		    
	</xsl:for-each>
</ul>
		<h3>dos paths</h3>
		
	<ul>
      <xsl:for-each select="/tns:GolfCountryClub/ProShop/GolfClub | /tns:GolfCountryClub/ProShop/BoxOfBalls">
		<li>
		      <xsl:value-of select="ManufacturerName"></xsl:value-of>
		
		</li>

		    
	</xsl:for-each>
</ul>
	

  </body>
  </html>

</xsl:template>

</xsl:stylesheet>

